home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_BallsAndBubbles_Refle < prev    next >
Encoding:
Text File  |  2003-06-06  |  2.1 KB  |  66 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'A ball reflecting nature',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 100, 
  16.             'MinAmbience': 0, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (143,121,33), 
  20.                 'Direction': (-0.468443,0.883494,-2.98023e-010), 
  21.                 'HighlightSize': 14
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (64,65,96), 
  25.                 'Direction': (-0.616178,-0.787607,0), 
  26.                 'HighlightSize': 9
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (130,77,30), 
  30.                 'Direction': (0.569404,-0.0556005,0.820175), 
  31.                 'HighlightSize': 25
  32.                 }]
  33.             }, 
  34.         'Mode': App.Constants.CountType.Single, 
  35.         'Multiple': {
  36.             
  37.             }, 
  38.         'Single': {
  39.             'MaxPossibleSize': App.Constants.Boolean.true
  40.             }, 
  41.         'Surface': {
  42.             'Material': {
  43.                 'Color': (192,192,192), 
  44.                 'Pattern': None, 
  45.                 'Gradient': None, 
  46.                 'Texture': None
  47.                 }, 
  48.             'BumpMap': {
  49.                 'Active': App.Constants.Boolean.false
  50.                 }, 
  51.             'EnvironmentMap': {
  52.                 'Active': App.Constants.Boolean.true, 
  53.                 'FileName': 'Reflection', 
  54.                 'PatternOpacity': 100, 
  55.                 'EnvironmentType': App.Constants.BubbleMapType.Environment
  56.                 }, 
  57.             'Gloss': 33, 
  58.             'Opacity': 100, 
  59.             'Shininess': 50
  60.             }
  61.         }
  62.  
  63. def Do(Environment):
  64.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  65.  
  66.